package com.jiang.annotation.aop.global_log;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("log")
public class LogController {

    @GetMapping("test1")
    public String test1(@RequestParam("name") String name){
        return name + " hello";
    }
}
